home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 15
/
CU Amiga Magazine's Super CD-ROM 15 (1997)(EMAP Images)(GB)[!][issue 1997-10].iso
/
CUCD
/
Graphics
/
Ghostscript
/
source
/
ccgs
< prev
next >
Wrap
Text File
|
1997-06-20
|
915b
|
41 lines
# This file is a hack. If `make' had macros with parameters,
# this file would be unnecessary!
if ( test -n "$6" ) then
./ansi2knr $6 _temp_$$.c
$1 $2 $3 _temp_$$.c
rm -f $5
mv _temp_$$.o $5
else
# Modified this bit here for more compilation flags ...
if ( test -n "$5" ) then
./ansi2knr $5 _temp_$$.c
$1 $2 $3 $4 _temp_$$.c
if ( test "$2" != "-o" ) then
rm -f `basename $5 .c` .o
mv _temp_$$.o `basename $5 .c`.o
fi
else
if ( test -n "$4" ) then
./ansi2knr $4 _temp_$$.c
$1 $2 $3 _temp_$$.c
if ( test "$2" != "-o" ) then
rm -f `basename $4 .c`.o
mv _temp_$$.o `basename $4 .c`.o
fi
else
if ( test -n "$3" ) then
./ansi2knr $3 _temp_$$.c
$1 $2 _temp_$$.c
rm -f `basename $3 .c`.o
mv _temp_$$.o `basename $3 .c`.o
else
./ansi2knr $2 _temp_$$.c
$1 _temp_$$.c
rm -f `basename $2 .c`.o
mv _temp_$$.o `basename $2 .c`.o
fi
fi
fi
fi
rm -f _temp_$$.c